IfSo\Services\GeolocationService\GeolocationService C

Total Complexity 104
Dependencies 6
Dependents 5
Total lines 324
Lines of code 260
Logical lines of code 172
Comment lines 14
Methods 18
Properties 5

Methods 18

Method Rating Maintainability Complexity Lines of code
notifications_email()
B
40 24 48
get_location_by_ip()
B
48 21 27
send_session_to_localdb()
A
41 15 50
get_user_ip()
S
55 6 19
get_cached_geo_data()
S
59 6 13
get_user_location()
S
61 6 11
get_localdb_notification_data()
S
61 3 12
can_send_notification()
S
63 3 11
cache_geo_data()
S
58 2 15
reset_email_triggers()
S
68 3 6
log_geo_request()
S
71 3 5
str_contains()
S
71 2 6
add_value_to_option()
S
72 2 5
get_status()
S
63 2 10
get_instance()
S
73 2 5
get_geo_data()
S
62 2 10
get_daily_sessions_table_date_format()
S
82 1 3
__construct()
S
76 1 4